Introduction to the use of the setTime () method in JavaScript, javascriptsettime
The javascript Date. setTime () method sets the time in milliseconds for the Date object from 00:00:00 UTC on January 1, January 1, 1970.Syntax
Date. setTime
The JavaScript date.settime () method sets the time for the date object to be represented by the number of milliseconds from January 1, 1970 00:00:00 UTC.
Grammar ?
1
Date.settime (TimeValue)
Note: The data inside and
This article translates the JavaScript Tutorial playlist of up master Kudvenkat on YouTubeSOURCE Address here:https://www.youtube.com/watch?v=PMsVM7rjupU&list=PL6n9fhu94yhUA99nOsJkKXBqokT3MBK0bDate () is used to make a date object in JavaScript
The JavaScript date.settime () method sets the time for the date object to be represented by the number of milliseconds from January 1, 1970 00:00:00 UTC.Grammar
Date.settime (TimeValue)
Note: The data inside and outside the brackets is
LS Note just show the size of the file, not take up disk space, this sentence is mainly for the folder, LS is a statistical directory structure in the folder node size, not the size of all files under the folder, the sum of all the files under the
Use of the setYear () method for time operations in JavaScript, using criptsetyear
The javascript Date. setYear () method sets the specified year according to the general time.Syntax
Date. setYear (yearValue)
Note: The data in the brackets is
In JavaScript, the return time using the toString () method is a string, and the javascripttostring
This method returns a string that represents the specified date object.Syntax
Date. toString ()
The following is the detailed information about
Introduction to the use of the toTimeString () method in JavaScript
This method returns a Date object in the time part of the human readable form.
Syntax
1
Date. toTimeString ()
The following is the detailed
Introduction to the use of the setDate () method in JavaScript, using criptsetdate
The javascript Date. setDate () method sets a day of the month on the specified Date according to the local time.Syntax
Date. setDate (dayValue)
The following is
The setUTCDate () method in JavaScript is described in detail, and the javascript closure is described in detail.
The javascript Date. setUTCDate () method sets the day of the month on the specified Date according to the general time.Syntax
Date.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.